package com.wyzz.hr.action;

import java.util.List;

import com.wyzz.hr.base.BaseAction;
import com.wyzz.hr.bo.ILeavetypeBO;
import com.wyzz.hr.spring.SpringBeanFactory;

public class HolidayTypeAction extends BaseAction {

	public HolidayTypeAction() {
	}

	public String execute() throws Exception {
		ILeavetypeBO lt_BO = (ILeavetypeBO) SpringBeanFactory
				.getBean("leavetypeBO");
		allLeaveType = lt_BO.FindAllLeaveType();
		return "success";
	}

	public List getAllLeaveType() {
		return allLeaveType;
	}

	public void setAllLeaveType(List allLeaveType) {
		this.allLeaveType = allLeaveType;
	}

	private List allLeaveType;
}
